package com.job.servicejob.service.impl;

import com.job.servicejob.entity.Student;
import com.job.servicejob.mapper.StudentMapper;
import com.job.servicejob.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author myt
 * @since 2023-03-20
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Resource
    private StudentMapper studentMapper;
    @Override
    public List<Student> list() {
        return null;
    }

    @Override
    public List<Student> getByPhone(String phone) {
        List<Student> admins = studentMapper.searchByPhoneNumber(phone);
        return admins;
    }


}
